package net.yeah.mickey_zhouyou.module.booklist.ui;

import javax.swing.table.AbstractTableModel;

public class BookTableModel extends AbstractTableModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = -74366923421593913L;

	@Override
	public int getRowCount() {
		return 1;
	}

	@Override
	public int getColumnCount() {
		return columnNames.length;
	}

	@Override
	public Object getValueAt(int rowIndex, int columnIndex) {
		return 123;
	}

	@Override
	public String getColumnName(int c) {
		return columnNames[c];
	}

	private String[] columnNames = { "标题", "副标题", "版本", "出版社", "作者", "译者" };
}
